package com.base.kongjian.service;

import java.util.Map;

import com.base.kongjian.entity.WorksContributeRec;
import com.mysteel.page.Page;

public interface WorksContributeRecService
{
	/**
	 * 保存
	 * @param worksContributeRec
	 */
	void saveWCR(WorksContributeRec worksContributeRec);
	/**
	 * 删除
	 * @param id
	 */
	void deleteWCR(long id);
	/**
	 * 多条件的单查询
	 * @param params
	 * @return
	 */
	WorksContributeRec getWCRByMap(Map<String, Object> params);
	/**
	 * 遍历 分页
	 * @param params
	 * @param currentPageNum
	 * @param maxPageRowCount
	 * @return
	 */
	Page<WorksContributeRec> queryWCR(Map<String, Object> params, int currentPageNum, int maxPageRowCount);
	/**
	 * 更新
	 * @param worksContributeRec
	 */
	void updateWCR(WorksContributeRec worksContributeRec, int changeNum);
	/**
	 * 多条件删除
	 * @param params
	 */
	void deleteWCRByMap(Map<String, Object> params);
}
